﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x020014A1 RID: 5281
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class UnlockTutorialCsReq : IMessage<UnlockTutorialCsReq>, IMessage, IEquatable<UnlockTutorialCsReq>, IDeepCloneable<UnlockTutorialCsReq>, IBufferMessage
	{
		// Token: 0x17004274 RID: 17012
		// (get) Token: 0x0600EC0C RID: 60428 RVA: 0x002768C0 File Offset: 0x00274AC0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<UnlockTutorialCsReq> Parser
		{
			get
			{
				return UnlockTutorialCsReq._parser;
			}
		}

		// Token: 0x17004275 RID: 17013
		// (get) Token: 0x0600EC0D RID: 60429 RVA: 0x002768C7 File Offset: 0x00274AC7
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return UnlockTutorialCsReqReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17004276 RID: 17014
		// (get) Token: 0x0600EC0E RID: 60430 RVA: 0x002768D9 File Offset: 0x00274AD9
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return UnlockTutorialCsReq.Descriptor;
			}
		}

		// Token: 0x0600EC0F RID: 60431 RVA: 0x002768E0 File Offset: 0x00274AE0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public UnlockTutorialCsReq()
		{
		}

		// Token: 0x0600EC10 RID: 60432 RVA: 0x002768E8 File Offset: 0x00274AE8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public UnlockTutorialCsReq(UnlockTutorialCsReq other) : this()
		{
			this.tutorialId_ = other.tutorialId_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600EC11 RID: 60433 RVA: 0x0027690D File Offset: 0x00274B0D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public UnlockTutorialCsReq Clone()
		{
			return new UnlockTutorialCsReq(this);
		}

		// Token: 0x17004277 RID: 17015
		// (get) Token: 0x0600EC12 RID: 60434 RVA: 0x00276915 File Offset: 0x00274B15
		// (set) Token: 0x0600EC13 RID: 60435 RVA: 0x0027691D File Offset: 0x00274B1D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint TutorialId
		{
			get
			{
				return this.tutorialId_;
			}
			set
			{
				this.tutorialId_ = value;
			}
		}

		// Token: 0x0600EC14 RID: 60436 RVA: 0x00276926 File Offset: 0x00274B26
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as UnlockTutorialCsReq);
		}

		// Token: 0x0600EC15 RID: 60437 RVA: 0x00276934 File Offset: 0x00274B34
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(UnlockTutorialCsReq other)
		{
			return other != null && (other == this || (this.TutorialId == other.TutorialId && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600EC16 RID: 60438 RVA: 0x00276964 File Offset: 0x00274B64
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.TutorialId != 0U)
			{
				num ^= this.TutorialId.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600EC17 RID: 60439 RVA: 0x002769A3 File Offset: 0x00274BA3
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600EC18 RID: 60440 RVA: 0x002769AB File Offset: 0x00274BAB
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600EC19 RID: 60441 RVA: 0x002769B4 File Offset: 0x00274BB4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.TutorialId != 0U)
			{
				output.WriteRawTag(88);
				output.WriteUInt32(this.TutorialId);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600EC1A RID: 60442 RVA: 0x002769E8 File Offset: 0x00274BE8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.TutorialId != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.TutorialId);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600EC1B RID: 60443 RVA: 0x00276A26 File Offset: 0x00274C26
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(UnlockTutorialCsReq other)
		{
			if (other == null)
			{
				return;
			}
			if (other.TutorialId != 0U)
			{
				this.TutorialId = other.TutorialId;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600EC1C RID: 60444 RVA: 0x00276A57 File Offset: 0x00274C57
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600EC1D RID: 60445 RVA: 0x00276A60 File Offset: 0x00274C60
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 88U)
				{
					this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
				}
				else
				{
					this.TutorialId = input.ReadUInt32();
				}
			}
		}

		// Token: 0x04005D66 RID: 23910
		private static readonly MessageParser<UnlockTutorialCsReq> _parser = new MessageParser<UnlockTutorialCsReq>(() => new UnlockTutorialCsReq());

		// Token: 0x04005D67 RID: 23911
		private UnknownFieldSet _unknownFields;

		// Token: 0x04005D68 RID: 23912
		public const int TutorialIdFieldNumber = 11;

		// Token: 0x04005D69 RID: 23913
		private uint tutorialId_;
	}
}
